﻿Public Class _Default
    Inherits System.Web.UI.Page

    Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load

    End Sub

    Protected Sub btnSubmit_Click(sender As Object, e As EventArgs) Handles btnSubmit.Click
        Dim number1, number2, results As Integer
        number1 = Convert.ToInt32(txtNumber1.Text)
        number2 = Convert.ToInt32(txtNumber2.Text)
        results = number1 + number2
        lblResult.Text = "Sum of two number is : " & results.ToString()
    End Sub
End Class